#ifndef BUSINESSLOGIC_HPP
#define BUSINESSLOGIC_HPP

#include "DRCDB.hpp"
#include "User.hpp"
#include "Status.hpp"
#include "gui.hpp"

#include <string>
using namespace std;

class BusinessLogic
{
private:
	BusinessLogic();
	static BusinessLogic* businessLogic;
	DRCDB *db;
	User *user;
	
public:
	static BusinessLogic* singleton();
	~BusinessLogic();
	enum LoginStatus login(User* user);
	void createDatabase(string db_string);
	void startLogin();
};

#endif
